package com.wmz.crm.workbench.mapper;

import com.wmz.crm.workbench.entity.ContactsActivityRelation;

import java.util.List;

public interface ContactsActivityRelationMapper {
    int deleteByPrimaryKey(String id);

    int insert(ContactsActivityRelation row);

    int insertSelective(ContactsActivityRelation row);

    ContactsActivityRelation selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ContactsActivityRelation row);

    int updateByPrimaryKey(ContactsActivityRelation row);

    //把该线索和市场活动的关联关系转换到联系人和市场活动的关联关系表中
    int insertContactsActivityRelationFromClueActivityRelation(List<ContactsActivityRelation> list);
}
